﻿using AutoMapper;
using S.Eartag.API.Application.Command.LamBingCommand;
using S.Eartag.API.Application.Command.MarkedConditionCommand;
using S.Eartag.API.Application.Command.SheepFileConditionCommand;
using S.Eartag.Domain.Model;

namespace S.Eartag.API.Extensions
{
    public class UnitsPrufile:Profile
    {
        public UnitsPrufile()
        {
            CreateMap<LamBingCreateCommand, LamBing>().ReverseMap();
            CreateMap<LamBingUpdateCommand, LamBing>().ReverseMap();
            CreateMap<LamBingDeleteCommand, LamBing>().ReverseMap();
            CreateMap<MarkedConditionCreateCommand, Mark>().ReverseMap();
            CreateMap<MarkedConditionUpdateCommand, Mark>().ReverseMap();
            CreateMap<MarkedConditionDeleteCommand, Mark>().ReverseMap();
            CreateMap<SheepFileConditionCreateCommand, SheepFile>().ReverseMap();
            CreateMap<SheepFileConditionDeleteCommand, SheepFile>().ReverseMap();
            CreateMap<SheepFileConditionUpdateCommand, SheepFile>().ReverseMap();
        }
    }
}
